/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.unittests.javabeans;

import opiam.admin.faare.persistence.javabeans.JBTop;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;


/**
 * Mapping class for the site object.<br>
 * The definition of the object is given in the faare_mapping.xml file.
 * This file defines the mapping between the site object and the corresponding LDAP entries.
 */
public class SiteTest extends JBTop implements Serializable
{
    /** List of the objectclasses. */
    private List objectClass = new ArrayList();

    /** Street attribute. */
    private String rue;

    /** Locality attribute. */
    private String lieu;

    /** Description attribute. */
    private String description;

    /**
     * Creates a new SiteTest object.
     */
    public SiteTest()
    {
    }

    /**
     * Gets the description.
     *
     * @return The description.
     */
    public String getDescription()
    {
        return description;
    }

    /**
     * Sets the description.
     *
     * @param adescription The description to set.
     */
    public void setDescription(String adescription)
    {
        this.description = adescription;
    }

    /**
     * Gets the objectclasses list.
     *
     * @return The objectClasses.
     */
    public List getObjectClass()
    {
        return objectClass;
    }

    /**
     * Sets the list of objectclasses.
     *
     * @param objectClasses The objectClasses to set.
     */
    public void setObjectClass(List objectClasses)
    {
        this.objectClass = objectClasses;
    }

    /**
     * Gets the street.
     *
     * @return The street.
     */
    public String getRue()
    {
        return rue;
    }

    /**
     * Sets the street.
     *
     * @param arue  The street to set.
     */
    public void setRue(String arue)
    {
        this.rue = arue;
    }

    /**
     * Gets the locality.
     *
     * @return The locality.
     */
    public String getLieu()
    {
        return lieu;
    }

    /**
     * Sets the locality.
     *
     * @param alieu  The locality to set.
     */
    public void setLieu(String alieu)
    {
        this.lieu = alieu;
    }
}
